﻿namespace VkontakteSharp.Model
{
    /// <summary>
    /// doc – документ
    /// </summary>
    public class Document : Attachment
    {
        [JsonMapping("did", JsonMapping.MappingType.Primitive)]
        public long Id { get; set; }
        [JsonMapping("owner_id", JsonMapping.MappingType.Primitive)]
        public long OwnerId { get; set; }
        [JsonMapping("title", JsonMapping.MappingType.Primitive)]
        public string Title { get; set; }
        [JsonMapping("size", JsonMapping.MappingType.Primitive)]
        public long Size { get; set; }
        [JsonMapping("ext", JsonMapping.MappingType.Primitive)]
        public string Ext { get; set; }
        [JsonMapping("url", JsonMapping.MappingType.Primitive)]
        public string Url { get; set; }
    }
}